import request from '@/utils/request'

// 退出方法
export function getListByParentOrStudent(data) {
	return request({
		'url': '/api/v1/marketing/customer/getListByParentOrStudent',
		'method': 'get',
		data: data
	})
}

/**
 * 修改云端历史作业 如果为空则 删除
 * @param data
 * @returns {Promise<AxiosResponse<any>>}
 */
export function getOrSetJsonFile(data) {
	return request({
		url: "/api/v1/marketing/customer/getOrSetJsonFile",
		method: "post",
		data: data,
	});
}
/**
 * 修改云端历史作业 如果为空则 删除
 * @param data
 * @returns {Promise<AxiosResponse<any>>}
 */
export function getById(data) {
	return request({
		url: "/api/v1/marketing/customer/getById",
		method: "get",
		data: data,
	});
}